package com.cybertron.ironhide.spider.domain;

import java.io.Serializable;
import java.util.Date;

import com.cybertron.ironhide.spider.Counter;
import com.cybertron.ironhide.spider.Settings;

public class SeedUrl implements Serializable {

	private String id;

	private String categoryId;

	private String url;

	private Integer maxCount = Settings.DEFAULT_MAX_COUNT;

	private String host;

	private Date createDate;

	private Date modifyDate;

	public Counter counter;

	private static final long serialVersionUID = 1L;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id == null ? null : id.trim();
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId == null ? null : categoryId.trim();
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url == null ? null : url.trim();
	}

	public Integer getMaxCount() {
		return maxCount;
	}

	public void setMaxCount(Integer maxCount) {
		this.maxCount = maxCount;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

}